<%@page import="nuc.soft.A01.jzs.model.Role"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML>
<html>
<head>
<base href="<%=basePath%>">

<title>新增角色</title>
<link rel="stylesheet" type="text/css"
	href="<%=basePath%>jslib/bootstrap/css/bootstrap.css">
<link rel="stylesheet" type="text/css" href="<%=basePath%>css/theme.css">
<link rel="stylesheet"
	href="<%=basePath%>jslib/font-awesome/css/font-awesome.css">
<script src="<%=basePath%>jslib/jquery-1.7.2.min.js"
	type="text/javascript"></script>
</head>

<body class="content1">
	<div class="header">
		<h1 class="page-title">新增角色</h1>
	</div>

	<ul class="breadcrumb">
		<li><a href="index.html">角色管理</a> <span class="divider">/</span>
		</li>
		<li class="active">新增角色</li>
	</ul>

	<div class="container-fluid">
		<div class="row-fluid">
			<form method="post" action="role/edit">

				<div class="well">
					<div class="tab-pane active in">
						<label> 角色ID： </label> <input type="text" name="id"
							maxlength="10" value="${editrole.id }" readonly> <label>
							角色名称： </label> <input type="text" name="rolename" maxlength="10"
							value="${editrole.rolename }">
					 <label>角色状态： </label> 
						<select name="state">
							<option value="1">正常</option>
							<option value="0">锁定</option>
						</select> 
						
						<label>试卷权限</label>
						<select name="paperctrl">
							<option value="1">拥有</option>
							<option value="0">锁定</option>
						</select> 
						<label>学生用户管理</label>
						<select name="studentuserctrl">
							<option value="1">拥有</option>
							<option value="0">锁定</option>
						</select> 
						<label>教师用户管理</label>
						<select name="teacheruserctrl">
							<option value="1">拥有</option>
							<option value="0">锁定</option>
						</select> 
						<label>显示试卷</label>
						<select name="showpaperctrl">
							<option value="1">拥有</option>
							<option value="0">锁定</option>
						</select> 
						<label>试卷控制</label>
						<select name="editpaperctrl">
							<option value="1">拥有</option>
							<option value="0">锁定</option>
						</select> 
						<label>生成问题</label>
						<select name="makeproblemctrl">
							<option value="1">拥有</option>
							<option value="0">锁定</option>
						</select> 
						<label>查看问题</label>
						<select name="checkproblemctrl">
							<option value="1">拥有</option>
							<option value="0">锁定</option>
						</select> 
						<input type="submit" value="提交">
					</div>
				</div>
			</form>
		</div>
	</div>
</body>
</html>
